package com.xyht.sca_s.student_manage_system.modules.attendance.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 定时任务
 * </p>
 *
 * @author XYHT
 * @since 2023-03-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sms_scheduling_task")
@ApiModel(value="SmsSchedulingTask对象", description="定时任务")
public class SmsSchedulingTask implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty(value = "任务名  事件id")
    private String name;

    @ApiModelProperty(value = "cron 表达式")
    private String cron;

    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "任务类型  考勤任务：attendance")
    private String type;

    @ApiModelProperty(value = "任务执行时间")
    private Date expirationTime;

    private Integer isClose;


}
